set more off

eststo clear

use gss, clear

local control income male married family_size age hs coll grad white black i.region

gen republicanXfinsitu= republican*finsitu
gen independentXfinsitu = independent*finsitu
eststo: reg ln_totgiv republican independent finsitu `control'
eststo: reg ln_totgiv republican republicanXfinsitu independent independentXfinsitu finsitu `control' 

label variable finsitu "Economic perceptions"
label variable independentXfinsitu "Independent X perceptions"
label variable republicanXfinsitu "Republican X perceptions"

#delimit;

esttab
	using "tableA5.tex"
	,
		replace
		order(republican independent finsituation republicanXfinsitu independentXfinsitu)
		width(\textwidth)
		booktabs
		gap
		label
		collabels(none)
		nomtitles
		cells(b(fmt(2) star) se(par))
		drop(*region*)
		stats(
			N 
			r2 
			,
				label(
					"Sample size"
					"R-squared"
				)
				fmt(
					%20.00fc
					%20.02fc
				)
		)
		;
		
#delimit cr
		
